<template>
  <detail title="审核结果">
    <div class="CheckResult" style="width: 100%">
      <c-table :data="tableData" style="width: 100%">
        <c-table-column prop="unitName" label="审核部门" />
        <c-table-column prop="examineName" label="审核结果" />
        <c-table-column prop="examineDesc" label="审核意见" />
        <c-table-column prop="updateTime" label="审核时间" />
      </c-table>
    </div>
  </detail>
</template>
<script>
import { getCheckResult } from '@/api/check.js'
export default {
  name: 'CheckResult',
  data() {
    return {
      tableData: [],
    }
  },
  mounted() {
    getCheckResult(this.$route.query.itemCode).then(({ success, data }) => {
      if (success) {
        this.tableData = data
      }
    })
  },
}
</script>
